﻿using System;
using System.Windows;
using System.Windows.Controls;

namespace Charts
{
	public class RangeItemsControl : ItemsControl
	{
		public static readonly DependencyProperty MaximumProperty =
			DependencyProperty<RangeItemsControl>.Register(x => x.Maximum);
		
		public double Maximum
		{
			get { return (double)GetValue(MaximumProperty); }
			set { SetValue(MaximumProperty, value); }
		}
		
		public static readonly DependencyProperty MinimumProperty =
			DependencyProperty<RangeItemsControl>.Register(x => x.Minimum);
		
		public double Minimum
		{
			get { return (double)GetValue(MinimumProperty); }
			set { SetValue(MinimumProperty, value); }
		}
	}
}